//
//  JZHomepageModel.h
//  NuoMi
//
//  Created by liangyi on 15/12/3.
//  Copyright © 2015年 liangyi. All rights reserved.
//

#import <Foundation/Foundation.h>



//1
@interface JZHomebannersModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSNumber *banner_id;
@property (nonatomic, strong) NSString *picture_url;
@property (nonatomic, strong) NSNumber *goto_type;
@property (nonatomic, strong) NSString *cont;

@end

//2
@interface JZHomecategoryModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSString *category_id;
@property (nonatomic, strong) NSString *category_name;
@property (nonatomic, strong) NSString *category_picurl;
@property (nonatomic, strong) NSString *icon_url;
@property (nonatomic, strong) NSNumber *has_icon;

@property (nonatomic, strong) NSString *schema;

@end

//3
@interface JZHomespecialModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSDictionary *block_1;
@property (nonatomic, strong) NSArray *block_2;
@property (nonatomic, strong) NSArray *block_3;

@end

//4
@interface JZHometoptenModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSArray *activetime;
@property (nonatomic, strong) NSArray *list;
@property (nonatomic, strong) NSNumber *isLogo;
@property (nonatomic, strong) NSString *target_url;

@end

//5
@interface JZHomeuserBlockModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSString *longAdvName;
@property (nonatomic, strong) NSString *longAdvDesc;
@property (nonatomic, strong) NSString *pictureUrl;


@end
//6
@interface JZHomenuomiChannelModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSString *advDesc;
@property (nonatomic, strong) NSString *advName;
@property (nonatomic, strong) NSString *pictureUrl;


@end


@interface JZHomepageModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, strong) NSArray *banners;
@property (nonatomic, strong) NSArray *category;
@property (nonatomic, strong) NSArray *userBlock;
@property (nonatomic, strong) NSArray *nuomiChannel;
@property (nonatomic, strong) JZHomespecialModel *special;
@property (nonatomic, strong) NSArray *recommend;
@property (nonatomic, strong) JZHometoptenModel *topten;


@end
